﻿module DocumentHost

open Uris
open HttpInterfaces

type IDocumentHost =
    abstract member navigate : HttpUrl -> unit
    abstract member submit : uri:HttpUrl * httpMethod:string * encoding:string * data: (string*string) list -> unit
    abstract member log : string -> unit

type IWindow =
    inherit IDocumentHost

type IResourceLoader = 
    abstract member fetchImage : request:HttpUrl * (System.Windows.Media.Imaging.BitmapSource->unit) -> unit 
